
#include <iostream>

using namespace std;

int Sum(int b,int e)
{
	int sum =0;
	for(int i = b; i<=e; i++)
	{
		sum += i;
	}

	return sum;
}

int main()
{
	int begin = 1;
	int end = 100;
	int n = Sum(begin,end);
    cout<<n<<endl;

    return 0;
}


